package com.cqc.jdk8.lambda.FunctionalInterface;

/**
 * @author cui
 * @date 2024/6/21 22:36
 * @description
 **/
public class Demo1Test {

    public static void main(String[] args) {
            goSwimming(()->{
                System.out.println("lambda 表达式");
            });
    }


    public static void goSwimming(Swimmable swimmable){
        swimmable.swimming();
    }
}
